<?php

namespace src\baseModels;

use Yii;
use yii\base\Object;

/**
 * This is the model class for table "{{%members}}".
 *
 * @property integer $id
 * @property integer $meeting_id
 * @property string $phone
 * @property string $email
 * @property string $wechat_id
 * @property string $wechat_info
 * @property string $check_code
 * @property integer $check_at
 * @property string $created_at
 * @property string $updated_at
 *
 * @property Invitations[] $invitations
 * @property Meetings $meeting
 */
class Members extends Object
{
    protected static $member;
    protected $whereMap = [];

    public static function find()
    {
        if (self::$member instanceof self) {
            return self::$member;
        } else {
            return self::$member = new Members();
        }
    }

    public static function findOne($member_id)
    {

    }

    public static function findByMeetingId($id)
    {

    }

    public static function clean(Meetings $meetings)
    {

    }

    public static function findByMeetingIdAndUser()
    {

    }

    public function pagetion($pageLimit)
    {

    }

    public function where($map = [])
    {

    }
}
